/**
 * 通用查询表单模版，list中grid的查询条件
 */
Ext.define("app.components.ui.form.Search", {
    extend: "Ext.form.Panel",
    alias: "widget.form_",
    extQuery: [],//查询条件
    border: false,
    header: false,
    width: "100%",
    height: 100,
    collapsible: true,
    layout: "column",
    style: {borderBottom: "1px solid #8CBDE6"},
    defaultType: "textfield",
    fieldDefaults: {
        labelAlign: "left",
        labelWidth: 100
    },
    defaults: {
        autoScroll: true,
        margin: 10,
    },
    initComponent: function () {
        this.items=this.extQuery;
        this.callParent();
    }
});
